@import '../variable.less';
.cart-page{
  -webkit-font-smoothing: antialiased;
  color: #666;
  font-size: 12px;
  background: #FFF;
  .cart{
    width: 990px;
    margin:auto;
    .no-login-tip{
      border:1px solid #edd28b;
      padding:10px 20px;
      background: #fffdee;
      color:#f70;
      font-size:0.8rem;
      margin-bottom: 20px;
      margin-top: 10px;
      button{
        border:none;
        background: #eb3e41;
        color: @whitecolor;
        margin-left: 20px;
        padding:4px 10px;
        border-radius: 2px;
      }
    }
    .cart-empty{
      height: 98px;
      padding:80px 0 120px;
      color: @headercolor / 3;
      .no-cart-img{
        padding-left: 230px;
      }
      .btn{
        padding-left: 115px;
        button{
          -webkit-border-radius: 2px;
          -moz-border-radius: 2px;
          border-radius: 2px;
        }
      }
      li:nth-child(3){
        padding-left: 50px;
      }
    }
  }
}
.cart-title:after,.cart-title:before{
  content: '';
  display: block;
  overflow: hidden;
}
.cart-title:after{
  clear: both;
}
.cart-title{
  .cart-left-title,.cart-left-title>h3{
    color: red;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
  }
  .distribution{
    float: right;
    .detail-address{
      border:1px solid @bordercolor;
      display: inline-block;
      padding: 5px;
      cursor: pointer;
    }
  }
}

.cart-thead {
  background: @bodybgcolor;
  padding: 0 15px;
  height: 30px;
  line-height: 30px;
}
.shop:after,.shop:before{
  content: '';
  display: block;
  overflow: hidden;
}
.shop:after{
  clear: both;
}
.shop{
  .cart-checkbox{
    display: inline-block;
  }
  .free-carriage{
    float: right;
  }
}
.item-list{
  border-top:2px solid @cartbordercolor;
  border-right: 1px solid @cartbordercolorw ;
  border-left: 1px solid @cartbordercolorw ;
  border-bottom: 1px solid @cartbordercolorw ;
  .item-header{
    padding:0 15px;
  }
  .change-buy-left{
    .change-buy{
      display: inline-block;
      margin-right: 15px;
      background: #f48719;
      padding: 3px 15px;
      color: #fff;
      position: relative;
      &:after{
        content: '';
        position: absolute;
        bottom:-5px;
        left:0;
        width:0;
        height:0;
        border-right:5px solid transparent;
        border-top:5px solid #f48719;
      }
    }
    .at-once-buy{
      display: inline-block;
      margin-left: 15px;
      color: @inputcolor;
      .iconfont{
        font-size: 0.8rem;
      }
    }
  }
}
.cart-detail-list{
  &.first{
    border-top:1px solid @cartbordercolorw;
  }
  padding: 10px 10px 0;
  background: @cartitembgcolor;
  .cart-item-checkbox{
    width:40px;
    display: inline-block;
  }
  .goods-img{
    display: inline-block;
  }
  img{
    width: 130px;
    height: 130px;
  }
  .item-price{
    a{
      display: inline-block;
      margin-top: 10px;
      background: @whitecolor;
      color: @inputcolor;
      border:1px solid @inputcolor * 0.8;
      padding:0 5px;
      line-height: 18px;
    }
  }
  .item-quantity{
    width:91px;
    border:1px solid @bordercolor;
    margin-bottom: 10px;
    a{
      padding: 5px;
    }
    input[type=number] {
      padding-left: 5px;
      width: 50px;
      background: transparent;
      border: 1px solid #e6e6e6;
      border-bottom: 0;
      outline: none;
      border-top: 0;
    }
  }
}
.goods-total-price{
  padding-left: 25px;
  &>div{
    font-size: 1rem;
    color: #000;
    font-weight: bold;
  }
}
.caozuo{
  a{
    display: block;
    color:@headercolor * 0.67;
    &:hover{
      color: @registercolor;
    }
  }
}
.line{
  height:1px;
  background: @linecolor;
  margin:0 15px;
}
.last+.line{
  background: transparent;
}
.jiesuan{
  border:1px solid @linecolor;
  padding-left: 15px;
  .jiesuan-left{
    height: 50px;
    line-height: 50px;
    a{
      display: inline-block;
      margin-left: 10px;
    }
  }
  .width-7-10{
    em{
      font-size: 1.1rem;
      color:@inputcolor;
      font-style: normal;
      font-weight: 700;
    }
    p{
      padding-left: 100px;
      margin-top: 5px;
    }
  }
  .submit-btn{
    height: 50px;
    line-height: 50px;
    background: #da314b;
    text-align: center;
    button{
      width: 100%;
      height: 100%;
    }
  }
  .choose{
    padding-right:20px;
    &+span{
      padding-right: 10px;
    }
  }
}

